/**
 * Created by chenmingkang on 16/3/8.
 */

app.run(["$rootScope","$http","$timeout","cookieFactory",function($rootScope,$http,$timeout,cookieFactory) {
    var getCookieInitData = function (){
        var getCookieData = cookieFactory.getCookie('_admin_user');
        if(getCookieData){
            $rootScope.userInfoData = JSON.parse(decodeURIComponent(getCookieData));
        }
    }();
    // $http.get(servicePath + 'debug_auth?debug=true').success();
}]);
